package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.pojo.Member;


import java.util.List;

/**
 * @InterfaceName: MemberMapper
 * @Description: TODO
 * @Author: 热爱生活の李
 * @Date: 2022/2/28 21:51
 */
public interface MemberDao {
    void add(Member member);
    Member findByTelephone(String telephone);
    List<Member> findAll();
    Page<Member> selectByCondition(String queryString);
    void deleteById(Integer id);
    Member findById(Integer id);
    void edit(Member member);
    Integer findMemberCountBeforeDate(String date);
    Integer findMemberCountByDate(String date);
    Integer findMemberCountAfterDate(String date);
    Integer findMemberTotalCount();
}
